package cn.iocoder.yudao.module.erp.dal.dataobject.supplierfleet;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import lombok.*;
import com.baomidou.mybatisplus.annotation.*;
import java.time.LocalDateTime;

/**
 * 供应商车队信息 DO
 * @author 天使管理员
 */
@TableName("erp_supplier_fleet")
@KeySequence("erp_supplier_fleet_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode()
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SupplierFleetDO extends BaseDO {

    /**
     * 主键id
     */
    @TableId
    private Integer id;
    /**
     * 级别 0供应商 1车队
     */
    private Integer type;
    /**
     * 级别 0普通 异形从1自增
     */
    private Integer category;
    /**
     * 供应商名称
     */
    private String name;
    /**
     * 车队名称
     */
    private String fleet;
    /**
     * 0出库显示(不包含311) 1全部显示(包含311)
     */
    private Integer isShow;
    /**
     * 车队明细
     */
    private String info;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    private Double totalAmount;

    private Double paidAmount;

    private Integer currencyType;

    @TableField(exist = false)
    private Double outAmount;

    @TableField(exist = false)
    private String currencyName;

    /**
     * 部门
     */
    @TableField(exist = false)
    private String department;

    /**
     * 摘要
     */
    @TableField(exist = false)
    private String remark;

    @TableField(exist = false)
    private String recordDate;

    @TableField(exist = false)
    private String dispatchNumber;

    @TableField(exist = false)
    private Double weightTotal;

    @TableField(exist = false)
    private Double volumeTotal;

}